package com.upay.android.client.handler;

import com.upay.android.util.exception.RestException;
import com.upay.domain.response.ResponseEnvelope;

public interface CallbackHandler<T extends Object> {

	/* ---- Business Methods ---- */
	
	public void handleResponse(ResponseEnvelope<T> response);
	public void handleRestException(RestException exception);
	public void handleProgramException(ResponseEnvelope<T> response);
	public void handleValidationException(ResponseEnvelope<T> response);
}
